**** S4 APPENDIX
**** DEMOGRAPHICS


*** SRBI

use "srbi renamed vars - weights 8-13-09.dta", clear

svyset [pw=weight1]
drop if control~=1

* Column 2: With post-stratification weights
svy: tab cpssex
svy: tab agecat
gen racebroad=.
replace racebroad=0 if racecats==1
replace racebroad=1 if racecats>1
label define racel 0 "white" 1 "non-white"
label values racebroad racel
svy: tab racebroad
svy: tab cpseduc

* Column 1: Without post-stratification weights
tab cpssex [aw=pwperson]
tab agecat [aw=pwperson]
tab racebroad [aw=pwperson]
tab cpseduc [aw=pwperson]


*** Harris

use "harrisxx2.dta", clear

svyset [pw=weight1]
drop if control~=1

* Column 6: Harris with weights

svy: tab cpssex
svy: tab agecat
gen racebroad=.
replace racebroad=0 if racecats==1 & hispanic~=1
replace racebroad=1 if racecats~=1 & hispanic~=1
replace racebroad=2 if hispanic==1
label define racel 0 "white" 1 "non-white" 2 "hispanic"
label values racebroad racel
svy: tab racebroad
svy: tab educats

* Column 5: Harris without weights
tab cpssex 
tab agecat 
tab racebroad 
tab educats 


*** NHIS
* Column 3: 2000 analysis.do in NHIS --> 2000 will generate values for the 2000 NHIS column

* Column 4: Generated by subtracting column 3 from column 2

* Column 6: 2006 analysis.do in NHIS --> 2006 will generate values for the 2000 NHIS column

* Column 7: Generated by subtracting column 6 from column 5


***FFRISP
* Column 9:

* Column 10:


*** 2009 CPS
* Column 11: cps09.r in CPS Folder will generate values for the 2009 CPS column.

* Column 12: Generated by subtracting column 11 from column 10
